package com.ruoyi.siyun.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 微圈对象 sy_microcircle
 * 
 * @author ruoyi
 * @date 2024-12-23
 */
public class SyMicrocircle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 微圈id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 文章关键字 */
    @Excel(name = "文章关键字")
    private String articleKeywords;

    /** 文章图片路径，多个逗号分隔 */
    @Excel(name = "文章图片路径，多个逗号分隔")
    private String articleUrls;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 文章点击数量 */
    @Excel(name = "文章点击数量")
    private Long articleHits;

    /** 文章点赞数量 */
    @Excel(name = "文章点赞数量")
    private Long articleLike;

    /** 文章评论数量 */
    @Excel(name = "文章评论数量")
    private Long articleReviews;

    /** 文章分享数量 */
    @Excel(name = "文章分享数量")
    private Long articleShare;

    /** 是否显示(2显示,3隐藏) */
    @Excel(name = "是否显示(2显示,3隐藏)")
    private Long isShow;

    /** 序号 */
    @Excel(name = "序号")
    private Long serialNumber;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String articleContent;

    /** 更新人 */
    @Excel(name = "更新人")
    private Long updateUser;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 状态（1草稿，2已通过，3退回） */
    @Excel(name = "状态", readConverterExp = "1=草稿，2已通过，3退回")
    private Long details;

    /** 文章收藏量统计 */
    @Excel(name = "文章收藏量统计")
    private Long collectionNum;

    @Excel(name = "文章标题")
    private String articleTitle;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setArticleKeywords(String articleKeywords) 
    {
        this.articleKeywords = articleKeywords;
    }

    public String getArticleKeywords() 
    {
        return articleKeywords;
    }
    public void setArticleUrls(String articleUrls) 
    {
        this.articleUrls = articleUrls;
    }

    public String getArticleUrls() 
    {
        return articleUrls;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setArticleHits(Long articleHits) 
    {
        this.articleHits = articleHits;
    }

    public Long getArticleHits() 
    {
        return articleHits;
    }
    public void setArticleLike(Long articleLike) 
    {
        this.articleLike = articleLike;
    }

    public Long getArticleLike() 
    {
        return articleLike;
    }
    public void setArticleReviews(Long articleReviews) 
    {
        this.articleReviews = articleReviews;
    }

    public Long getArticleReviews() 
    {
        return articleReviews;
    }
    public void setArticleShare(Long articleShare) 
    {
        this.articleShare = articleShare;
    }

    public Long getArticleShare() 
    {
        return articleShare;
    }
    public void setIsShow(Long isShow) 
    {
        this.isShow = isShow;
    }

    public Long getIsShow() 
    {
        return isShow;
    }
    public void setSerialNumber(Long serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public Long getSerialNumber() 
    {
        return serialNumber;
    }
    public void setArticleContent(String articleContent) 
    {
        this.articleContent = articleContent;
    }

    public String getArticleContent() 
    {
        return articleContent;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setDetails(Long details) 
    {
        this.details = details;
    }

    public Long getDetails() 
    {
        return details;
    }
    public void setCollectionNum(Long collectionNum) 
    {
        this.collectionNum = collectionNum;
    }

    public Long getCollectionNum() 
    {
        return collectionNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("articleKeywords", getArticleKeywords())
            .append("articleUrls", getArticleUrls())
            .append("createDate", getCreateDate())
            .append("releaseTime", getReleaseTime())
            .append("articleHits", getArticleHits())
            .append("articleLike", getArticleLike())
            .append("articleReviews", getArticleReviews())
            .append("articleShare", getArticleShare())
            .append("isShow", getIsShow())
            .append("serialNumber", getSerialNumber())
            .append("articleContent", getArticleContent())
            .append("updateUser", getUpdateUser())
            .append("updateDate", getUpdateDate())
            .append("details", getDetails())
            .append("collectionNum", getCollectionNum())
            .toString();
    }
}
